import {
	post
} from './api.js'

//
export const wx_small_login = (data) => {
	// 发送登录请求
	return post('/users/login/wx_small_login', data)
}
// 微信小程序绑定手机
export const small_phone = (data) => {
	return post('/users/index/small_phone', data)
}


// 获取oss上传签名url
export const get_oss_url = (data) => {
	// 发送登录请求
	return post('/common/common/get_oss_url', data)
}

//获取验证码
export const getCodeRequst = (data)=>{
	return post('/common/common/send_sms',data)
}
//保存信息
export const save = (data)=>{
	return post('/users/index/small_phone_validate',data)
}

//绑定通联手机
export const bindTongLian = (data)=>{
	return post('/users/index/bind_phone',data)
}